home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-05-22 | 1.6 KB | 55 lines |
- #
- # Copyright (c) 1988 Regents of the University of California.
- # All rights reserved.
- #
- # Redistribution and use in source and binary forms are permitted
- # provided that the above copyright notice and this paragraph are
- # duplicated in all such forms and that any documentation,
- # advertising materials, and other materials related to such
- # distribution and use acknowledge that the software was developed
- # by the University of California, Berkeley. The name of the
- # University may not be used to endorse or promote products derived
- # from this software without specific prior written permission.
- # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- #
- # @(#)Makefile 5.5 (Berkeley) 9/20/88
- #
- CFLAGS= -O -I. -DMH_LCK_BEL -DSYSV
- ALL= dmail
- SRCS= binmail.c flock.c mktemp.c mhlock.c
- OBJS= binmail.o flock.o mktemp.o mhlock.o
- DOBJS= dmail.o flock.o mktemp.o mhlock.o
- MAN= binmail.1
-
- all: ${ALL}
-
- mail: ${OBJS}
- ${CC} ${CFLAGS} -o $@ ${OBJS} -linet
-
- dmail: ${DOBJS}
- ${CC} ${CFLAGS} -o $@ ${DOBJS} -linet
-
- clean:
- rm -f core ${ALL} ${OBJS}
-
- cleandir: clean
- rm -f tags .depend
-
- depend: ${SRCS}
- mkdep -p ${CFLAGS} ${SRCS}
-
- install: ${ALL} ${MAN}
- install -o -f ${DESTDIR}/bin -u root -g bin mail
- chmod 4755 ${DESTDIR}/bin/mail
- install -o -f ${DESTDIR}/usr/man/man1 -u bin -g bin binmail.1
- (cd ${DESTDIR}/usr/man/man1; chmod 444 ${MAN})
- # DO NOT DELETE THIS LINE -- mkdep uses it.
- # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
- binmail: pathnames.h
- flock: flock.h
-
- # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-